package com.example.wanandroid_copy2.ui.search.dao

import androidx.room.*

@Dao
interface RecordDao {

    @Query("select * from search_history")
    fun getAll() : List<Record>

    @Delete
    fun delete(record: Record?)

    @Insert
    fun insert(vararg record: Record)

    @Update
    fun update(vararg record: Record)
}